{*
* 2007-2011 PrestaShop 
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 6594 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

<!-- MODULE GroupBuyingReg -->
<fieldset class="account_creation">
	<h3>{l s='Group buying registration' mod='groupbuyingreg'}</h3>
	<p style="font-weight:bold;color:#3366ff;">{l s='Please fill in all the information below for group buying registration!' mod='groupbuyingreg'}</p>
	<p class="select">
		<label for="group_buying_company">{l s='Group buying company' mod='groupbuyingreg'}</label>
		<select name="group_buying_company" id="group_buying_company" style="width:163px">
			<option value="">-</option>
			{foreach from=$group_buying_companies item=company}
				<option value="{$company.id_group_buying_company}" {if ($sl_company == $company.id_group_buying_company)} selected="selected"{/if}>{$company.company_name|escape:'htmlall':'UTF-8'}</option>
			{/foreach}
		</select>
	</p>
	<p class="select">
		<label for="group_buying_promotion">{l s='Promotion' mod='groupbuyingreg'}</label>
		<select name="group_buying_promotion" id="group_buying_promotion" style="width:163px">
			<option value="">-</option>
			{foreach from=$group_buying_promotions item=promotion}
				<option value="{$promotion.id_group_buying_promotion}" {if ($sl_promotion == $promotion.id_group_buying_promotion)} selected="selected"{/if}>{$promotion.promotion_short_desc|escape:'htmlall':'UTF-8'}</option>
			{/foreach}
		</select>
	</p>
	<p class="textarea">
		<label for="other">{l s='Coupon code' mod='groupbuyingreg'}</label>
		<textarea name="group_buying_coupon_code" id="group_buying_coupon_code" style="width:158px" rows="3">{if isset($smarty.post.group_buying_coupon_code)}{$smarty.post.group_buying_coupon_code}{/if}</textarea>
	</p>
</fieldset>
<!-- END : MODULE GroupBuyingReg -->